package com.gdones.bootserver.bus.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gdones.bootserver.bus.account.dto.Account;
import com.gdones.bootserver.bus.account.dto.ChangePwdAccountDTO;
import com.gdones.bootserver.bus.account.dto.LoginDto;
import com.gdones.common.core.dto.MyPageBand;
import com.gdones.common.core.dto.MyPager;
import com.gdones.common.core.dto.MyResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author GaoJingBo
 * @since 2023-03-17
 */
public interface IAccountService extends IService<Account> {

    MyResult doLogin(LoginDto dto);

    MyResult unLockAccounts(String accountIDs);

    MyResult changeAccountPwd(ChangePwdAccountDTO dto);

    MyPager<Account> myPage(Account account, MyPageBand pageBand);

    MyResult getUserAllSysData(String accountID);

    MyResult getNotGranteStaffAccountList(Account dto);
}
